package com.wilmer.aiUserChat.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * 聊天列表对象 yw_user_chat
 *
 * @author hans
 * @date 2024-05-15
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "聊天列表对象")
@Data
public class YwUserChat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private String chatId;

    /** 用户id */
    @ApiModelProperty("用户id")
    private Long userId;

    /** 部门id */
    @ApiModelProperty("部门id")
    private Long deptId;

    /** 聊天的名称 */
    @ApiModelProperty("聊天的名称")
    @Excel(name = "聊天的名称")
    private String chatName;

    /** 是否置顶（0/1）1为置顶 */
    @ApiModelProperty("是否置顶（0/1）1为置顶")
    @Excel(name = "是否置顶", readConverterExp = "0=/1")
    private String chatTop;

}
